PDF4Java Reference Documentation
com.o2sol.pdf4java.graphics.formattedcontent Package / PDFFormattedParagraph Class / setBackgroundBaselineOffset Method
Offset from text baseline for drawing the background.
In This Topic
    setBackgroundBaselineOffset Method
    In This Topic
    Sets the background baseline offset.
    The offset is given in PDF points. By default the background baseline matches the text baseline. If you want to lower it so that it covers the descent part of the text, you can set it to a negative value.
    Syntax
    public void setBackgroundBaselineOffset( 
       double value
    )

    Parameters

    value
    Offset from text baseline for drawing the background.
    See Also